home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Sep 90 / MacApp.Tech$ 9⁄14⁄90 / 1986-ETO's Pascal compile-Sep90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.5 KB  |  38 lines  |  [TEXT/GEOL]

  1. Item    7820269                         14-Sept-90        09:16PDT
  2.  
  3. From:   KNEPPER                         Knepper, Christopher
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.         MATTSON1                        Mattson, Jordan
  7.         TOM.CHAVEZ                      Chavez, Thomas
  8.  
  9. cc:     CFI                             France - CFI Paris 11,IDV
  10.         ALANDAIL                        AS & M, Alan Dail,PRT
  11.  
  12. Sub:    ETO's Pascal compiler...
  13.  
  14. MacAppers:
  15.  
  16. Those of you who recently purchased the ETO CD, be sure to read the release
  17. notes for MPW 3.2b1 that is included on the CD. There is mention of
  18. incompatibilities between that version of the Pascal compiler and Object
  19. Pascal. The result of using that compiler is your application gets 0's in the
  20. class table, as Nico and Alan Dail have pointed out.
  21.  
  22. The class table is a variable size array where each entry's byte offset
  23. corresponds to its ClassID and the entry's value is used to locate its
  24. ClassInfoProc. 0's in the class table means that the MacApp can't locate the
  25. ClassInfoProc, causing (among other things) GetClassSizeFromId and
  26. GetClassNameFromID to fail.
  27.  
  28. The best solution is to use the complete MPW that is shipped on the ETO CD with
  29. an older 3.2 Pascal compiler (the best Pascal compiler to use would be MPW
  30. 3.2a1), but I'm not sure how you can get a hold of it - any ideas Jordan or
  31. Tom?
  32.  
  33. After replacing the Pascal compiler, remember to rebuild MacApp with:
  34.   MABuild YourApp -e <your favorite options here>
  35.  
  36. -Chris
  37.  
  38.